﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;

using EHTSaleManager.Code.DAL;
using EHTSaleManager.Code.Entity;
using System.Web;

namespace EHTSaleManager.Code.BLL
{
    public class AcountBalanceHistoryProvider
    {
        //public static Int32 UIBalanceHistory(AcountBalanceHistory accBalance)
        //{
        //    SqlCommand command = new SqlCommand();
        //    command.CommandText = "proc_IUBalaceHistory";
        //    command.CommandType = CommandType.StoredProcedure;

        //    SqlParameter orderIDOutParam = new SqlParameter("@OrderIDOut", System.Data.OleDb.OleDbType.Integer);
        //    orderIDOutParam.Direction = ParameterDirection.Output;

        //    command.Parameters.Add(orderIDOutParam);
        //   // command.Parameters.Add(new SqlParameter("@CustomerID", accBalance.));
        //    command.Parameters.Add(new SqlParameter("@TotalAmount", accBalance.TotalAmount));
        //    command.Parameters.Add(new SqlParameter("@Month", accBalance.Month));
        //    command.Parameters.Add(new SqlParameter("@Year", accBalance.Year));
           
        //    DataProvider.ExecuteNoneQuery(command);

        //    return Int32.Parse(command.Parameters["@OrderIDOut"].Value.ToString());
        //}
    }
}